package com.alks.function.data.request.administration;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.time.LocalDateTime;

@Getter
@Setter
@NoArgsConstructor
public class PcEmployeeUpdateRequest {

    @ApiModelProperty(value = "工号",name = "workId")
    private String workerId;

    @ApiModelProperty(value = "姓名",name = "name")
    private String name;

    @ApiModelProperty(value = "性别",name = "sex")
    private String sex;

    @ApiModelProperty(value = "身份证号码",name = "idNo")
    private String idNo;

    @ApiModelProperty(value = "如果身份证号码不一样为null",name = "updateStatus")
    private Integer updateStatus;

    @ApiModelProperty(value = "计算类型",name = "calcType")
    private String calcType;

    @ApiModelProperty(value = "电话号码",name = "mobileNo")
    private String mobileNo;

    @ApiModelProperty(value = "地址",name = "address")
    private String address;

    @ApiModelProperty(value = "进厂日期",name = "dateIn")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private LocalDateTime dateIn;

    @ApiModelProperty(value = "合同签订",name = "contract")
    private String contract;

    @ApiModelProperty(value = "学历",name = "education")
    private String education;

    @ApiModelProperty(value = "民族",name = "nation")
    private String nation;

    @ApiModelProperty(value = "婚否 未婚 N,已婚 Y",name = "married")
    private String married;

    @ApiModelProperty(value = "未成年标志 未成年 N,成年 Y",name = "married")
    private String childFlag;

    @ApiModelProperty(value = "紧急联系人",name = "contactPerson")
    private String contactPerson;

    @ApiModelProperty(value = "紧急联系人电话",name = "contactPhone")
    private String contactPhone;

    @ApiModelProperty(value = "现地址",name = "addressNow")
    private String addressNow;

    @ApiModelProperty(value = "出生日期",name = "brisday")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "Asia/Shanghai")
    private LocalDateTime brisday;
}
